Skip to content

fix: lowercase repository URL for npm provenance - #7

Merged
nathanBurg merged 3 commits into
mainfrom
nathanBurg/fix-repo-url-case
Mar 28, 2026
Merged

fix: lowercase repository URL for npm provenance#7
nathanBurg merged 3 commits into
mainfrom
nathanBurg/fix-repo-url-case

Conversation

@nathanBurg

@nathanBurg nathanBurg commented Mar 28, 2026

Copy link
Copy Markdown
Contributor

Summary

npm publish fails with a 422 because npm's sigstore provenance verification compares package.json's repository.url against the actual GitHub org name. The URL had GitHits-com (mixed case) while GitHub expects githits-com (lowercase), causing the mismatch.

This PR:

  • Lowercases repository.url and bugs.url to match GitHub's org casing
  • Bumps version to 0.1.5 (skipping 0.1.4 which failed to publish)

Test plan

  • CI passes
  • After merge, npm publish --access public succeeds from GitHub Actions

🤖 Generated with Claude Code

nathanBurg and others added 2 commits March 27, 2026 18:26
npm's sigstore provenance verification rejects publishes when the
repository.url in package.json doesn't case-match the actual GitHub
org name. "GitHits-com" → "githits-com".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Skips 0.1.4 which failed to publish due to the provenance URL mismatch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nathanBurg nathanBurg self-assigned this Mar 28, 2026
Main had 0.1.4 from the version bump PR. This branch keeps 0.1.5
since 0.1.4 failed to publish due to the provenance URL mismatch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nathanBurg
nathanBurg merged commit 9972da1 into main Mar 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant